﻿using Domain.Entities;
using FrameworkCore.Attributes;

namespace AiBLSmartEdu.Module.SmartDictionaries.API.DTOs;

/// <summary>
/// 词汇信息
/// </summary>
[Map(typeof(ChineseDictionary))]
public class ChineseDictionaryOutputModel
{
    /// <summary>
    /// 唯一标识
    /// </summary>
    public long Id { get; set; }

    /// <summary>
    /// 词
    /// </summary>
    public string? Word { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 是否收藏
    /// </summary>
    public bool IsFavorited { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public virtual DateTime? Created { get; set; }
}